Skip to content

Run all tests for current test class/fixture/suite only once#11

Open
mbhaskar98 wants to merge 2 commits intomattstevens:masterfrom
mbhaskar98:master
Open

Run all tests for current test class/fixture/suite only once#11
mbhaskar98 wants to merge 2 commits intomattstevens:masterfrom
mbhaskar98:master

Conversation

@mbhaskar98
Copy link
Copy Markdown

This is to resolve this issue - https://github.com/mattstevens/xcode-googletest/issues/6

The idea is to create a Gtest filter for all the tests that are called for current class and then run those together to avoid calling SetUpTestCase multiple times.

@eugenegff
Copy link
Copy Markdown

eugenegff commented Sep 29, 2025

Bad idea - XCode marks failed tests as passed, and later XCTest infrastructure crashed as actual tests are run and fails at unexpected time. Not applied to https://github.com/eugenegff/xcode-googletest fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants